package com.yanqu.road.entity.retrievereward;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.DataStatus;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_u_recovery_reward")
public class RecoveryRewardUserData extends DataObject {
    @FieldTypeAnnotation(desc = "userId",select = true,update = true)
    private long userId;
    @FieldTypeAnnotation(desc = "最后找回时间")
    private long lastRecoveryTime;

    public long getUserId() {
        return userId;
    }
    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setOp(DataStatus.Update);
        }
    }

    public long getLastRecoveryTime() {
        return lastRecoveryTime;
    }
    public void setLastRecoveryTime(long lastRecoveryTime) {
        if (this.lastRecoveryTime != lastRecoveryTime) {
            this.lastRecoveryTime = lastRecoveryTime;
            setOp(DataStatus.Update);
        }
    }
}
